/**
 * @see [description](https://mp.weixin.qq.com/debug/wxadoc/dev/api/navigateBackMiniProgram.html)
 */
export default function navigate_back_mini_program(extraData?: any) {
	return new Promise<boolean>((resolve, reject) => {
		wx.navigateBackMiniProgram({
			extraData,
			success() {
				resolve(true);
			},
			fail(res) {
				reject(res);
			}
		});
	});
}
